package com.ruoyi.common.core.domain.entity;

/**
 * 区域表 sys_area
 *
 * @author ruoyi
 */
public class SysArea {

    /** 区域ID */
    private Long id;

    /** 父ID */
    private Long pid;

    /** 区域名称 */
    private String name;

    /** 行政区域类型，如如1则是省， 如果是2则是市，如果是3则是区县 */
    private Integer type;

    /** 行政区域编码 */
    private Integer code;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
